package com.sun.enums;

import lombok.Getter;

/**
 * 用户类型
 *
 * @Author sun
 * @CreateTime 2025/9/6 19:05
 */
@Getter
public enum EUserType {
    admin(100, "管理员"),
    member(300, "会员"),
    user(200, "普通用户");

    private String name;
    private int code;

    EUserType(int code, String name) {
        this.code = code;
        this.name = name;

    }
}
